//
//  StrategyCollectionViewCell.m
//  project
//
//  Created by lanou on 15/10/26.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "StrategyCollectionViewCell.h"

@implementation StrategyCollectionViewCell

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self)
    {
        _strategyImage = [[UIImageView alloc]initWithFrame:CGRectMake(10, 0, (kWidth - 80) / 4, (kWidth - 80) / 4)];
        _strategyImage.backgroundColor = [UIColor grayColor];
        [self.contentView addSubview:_strategyImage];
        
        _strategyLabel = [[UILabel alloc]initWithFrame:CGRectMake(30, (kWidth - 80) / 4 + 45, 40, 20)];
        _strategyLabel.backgroundColor = [UIColor yellowColor];
        [self.contentView addSubview:_strategyLabel];
    }
    return self;
}

@end
